
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加管理员信息</title>
</head>
<body>

<script type="text/javascript" charset="utf8" src="${pageContext.request.contextPath}/js/jquery-3.5.1.js"></script>
<link href="${pageContext.request.contextPath}/css/common.css" rel="stylesheet">
<link href="${pageContext.request.contextPath}/bootstrap460/css/bootstrap.css" rel="stylesheet">
<script src="${pageContext.request.contextPath}/jquery/jquery-3.6.0.js"></script>
<script src="${pageContext.request.contextPath}/bootstrap460/js/bootstrap.js"></script>
<script src="${pageContext.request.contextPath}/hui/lib/layer/2.4/skin/layer.css"></script>
<script src="${pageContext.request.contextPath}/hui/lib/layer/2.4/layer.js"></script>
<div class="container">
    <h3>添加管理员信息</h3>
    <form action="${pageContext.request.contextPath}/student/normal/addAdmin" method="post">
        <div class="form_group"><label>用户Id</label><input name="UserId" id="UserId" type="text" class="form-control"></div>
        <div class="form_group"><label>用户名</label><input name="UserName" id="UserName" type="text" class="form-control"></div>
        <div class="form_group"><label>密码</label><input name="password" id="password" type="text" class="form-control"></div>
        <div class="form_group"><label>权限</label><input name="root" id="root" type="text" class="form-control"></div>
        <button class="btn btn-primary" type="submit">提交</button><br><br>
        <input class="btn btn-default" onclick="backAndFresh()" type="button" value="返回" />
    </form>
</div>
<script>
    function backAndFresh(){
        var url =document.referrer;
        window.location=url;
    }
</script>
</body>
</html>
